package com.desiy.dao;


import com.desiy.pojo.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Admin)表数据库访问层
 *
 * @author makejava
 * @since 2020-05-19 09:45:29
 */
@Mapper
public interface AdminDao {
    Admin queryById();
    List<Admin> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);
    List<Admin> queryAll(Admin admin);
    int insert(Admin admin);
    int update(Admin admin);
    int deleteById();
}